package com.cn.longdistancebusstation.model;

import com.google.gson.annotations.SerializedName;

import java.util.Map;

/**
 * Created by mucheng on 2018/4/19.
 */

public class ListResultV<T>{
    private Head head;
    private Body body;

    public Head getHead() {
        return head;
    }

    public void setHead(Head head) {
        this.head = head;
    }

    public Body getBody() {
        return body;
    }

    public void setBody(Body body) {
        this.body = body;
    }
    public class Head{
        private String msg;
        @SerializedName("success")
        private Boolean isSuccess;

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public Boolean getSuccess() {
            return isSuccess;
        }

        public void setSuccess(Boolean success) {
            isSuccess = success;
        }
    }
    public class Body{
        @SerializedName(value="rows",alternate = {"Data"})
        private Map<String,String> data;

        public Map<String, String> getData() {
            return data;
        }

        public void setData(Map<String, String> data) {
            this.data = data;
        }
    }
}
